package com.ruoyi.course.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学习记录对象 record
 * 
 * @author ruoyi
 * @date 2023-09-27
 */
public class Record extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 学习课程 */
    @Excel(name = "学习课程")
    private String studyCourse;

    /** 所属支部 */
    @Excel(name = "所属支部")
    private String partName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStudyCourse(String studyCourse) 
    {
        this.studyCourse = studyCourse;
    }

    public String getStudyCourse() 
    {
        return studyCourse;
    }
    public void setPartName(String partName) 
    {
        this.partName = partName;
    }

    public String getPartName() 
    {
        return partName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("studyCourse", getStudyCourse())
            .append("partName", getPartName())
            .toString();
    }
}
